package com.ruoyi.project.yuwen.audioblack.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.util.Date;

/**
 * 封禁用户对象 audio_black
 *
 * @author shixiangwen
 * @date 2021-02-24
 */
public class AudioBlack extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 用户ID
     */
    @Excel(name = "用户ID")
    private Long uid;

    /**
     * 封禁截止
     */
    @Excel(name = "封禁截止", width = 30, dateFormat = "yyyy-MM-dd")
    private Date blockEndtime;

    /**
     * 封禁时间
     */
    @Excel(name = "封禁时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /**
     * 操作用户
     */
    @Excel(name = "操作用户")
    private String createUserId;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public Long getUid() {
        return uid;
    }

    public void setBlockEndtime(Date blockEndtime) {
        this.blockEndtime = blockEndtime;
    }

    public Date getBlockEndtime() {
        return blockEndtime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId;
    }

    public String getCreateUserId() {
        return createUserId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("uid", getUid())
                .append("blockEndtime", getBlockEndtime())
                .append("createdTime", getCreatedTime())
                .append("createUserId", getCreateUserId())
                .toString();
    }
}
